<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Scriptless</title>
</head>
<body>
	<jsp:useBean id="nameBean" class="net.sasuke.firstapp.NameBean"
		type="net.sasuke.firstapp.NameBean" scope="request">
		<jsp:setProperty name="nameBean" property="name" value="ANONYMOUS" />
	</jsp:useBean>
	<p>The name generated was <jsp:getProperty property="name" name="nameBean" /></p>
	<br /><br />
	
	<jsp:useBean id="employee1" class="net.sasuke.firstapp.vo.Employee"></jsp:useBean>
	<jsp:setProperty property="name"  name="employee1" param="name" />
	<jsp:getProperty property="name"  name="employee1" />
	<br /><br />
	
	<jsp:useBean id="employee3" class="net.sasuke.firstapp.vo.Employee"></jsp:useBean>
	<jsp:setProperty property="name"  name="employee3" />
	<jsp:getProperty property="name"  name="employee3" />
	<br /><br />
	
	<jsp:useBean id="employee2" class="net.sasuke.firstapp.vo.Employee"></jsp:useBean>
	<jsp:setProperty property="*"  name="employee2" />
	<jsp:getProperty property="designation" name="employee2" />---
	<jsp:getProperty property="name" name="employee2" />---
	<jsp:getProperty property="age" name="employee2" />
	<br /><br />
	
	<h2>JSTL starts</h2>
	${requestScope.employee[wtf]}
	
	<br /><br />
	${arr[zero]}
</body>
</html>
